-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide ability to add labels to Cluster
object
#809
Conversation
805f843
to
f080795
Compare
f080795
to
3475d9c
Compare
3475d9c
to
44b336c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, 2 charts-related-mostly-nit comments
651f907
to
b5a7452
Compare
b5a7452
to
1f07334
Compare
1f07334
to
9396b6e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, the PR needs to be rebased and @Kshatrix should also check whether it's okay to assign labels to the CAPI clusters
c514276
to
c475159
Compare
c475159
to
7d61207
Compare
Good to me! |
LGTM, @Kshatrix could you check whether you've reconciled on the approach and if the initial is okay, then I'm ready to approve and merge the PR |
Description
Provide ability to add labels to the
Cluster
object created when installing a clusterTemplate by:.Values.ClusterLabels
to all clusterTemplate helm charts.ManagedCluster
's own labels via the HMC controller if none have been defined in.Values.ClusterLabels
.Testing
As can be seen from the output below, the
.metadata.labels
fromManagedCluster
have been added to theCluster
object: